﻿using System;
using System.Collections.Generic;
using Go.Tools;
using Go.inteligence;

namespace Go.Model
{
    public class ComputerPlayer: Player
    {
        
        public ComputerPlayer(Color aColor, String name): base(aColor, name)
        {}
    
        public override void play() 
        {
            NotifyObservers(this);
            Position positioToPlay = MiniMaxNode.getBestMove(this);
            this.putStone(positioToPlay);
            base.play();
        }
           
        public override String playerType() { return "Computadora"; } 
    }
}